package com.example.typhoonproject.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.example.typhoonproject.dao.TyphoonPointMapper;
import com.example.typhoonproject.entity.TyphoonPointEntity;
import com.example.typhoonproject.service.TyphoonPointService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class TyphoonPointServiceImpl extends ServiceImpl<TyphoonPointMapper, TyphoonPointEntity> implements TyphoonPointService {

    @Autowired
    private TyphoonPointMapper typhoonPointMapper;

    @Override
    public List<String> findTyTimesByCode(String code) {
        return typhoonPointMapper.findTyTimesByCode(code);
    }
}
